target_sources(mavsdk
    PRIVATE
    {{ plugin_name.lower_snake_case }}.cpp
    {{ plugin_name.lower_snake_case }}_impl.cpp
)

target_include_directories(mavsdk PUBLIC
    $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
    $<INSTALL_INTERFACE:include/mavsdk>
    )

install(FILES
    include/plugins/{{ plugin_name.lower_snake_case }}/{{ plugin_name.lower_snake_case }}.h
    DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/mavsdk/plugins/{{ plugin_name.lower_snake_case }}
)
